<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>更新商家信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   	<center>
  	<font  color="red" size="10">更新商家信息</font>
  	<br><br>
  	<br><br>
  	<form action="updateMerchant.do" method="post">
	<table>
		<tr>
			<td><input type="hidden" name="id" value="${merchant.id}"/></td>
		</tr>
		<tr>
			<td>商家名称:</td>
			<td><input type="text" name="merchant_name" value="${merchant.merchant_name}"/></td>
		</tr>
		<tr>	
			<td>商家地址:</td>
			<td><input type="text" name="merchant_address" value="${merchant.merchant_address}"/></td>
		</tr>
		<tr>
			<td>商家联系电话:</td>
			<td><input type="text" name="merchant_cellphone" value="${merchant.merchant_cellphone}"/></td>
		</tr>
		<tr>
			<td>商家电子邮件:</td>
			<td><input type="text" name="merchant_email" value="${merchant.merchant_email}"/></td>
		</tr>
		<tr>
			<td>商家地理位置经度:</td>
			<td><input type="text" name="merchant_local_x" value="${merchant.merchant_local_x}"/></td>
		</tr>
		<tr>
			<td>商家地理位置纬度:</td>
			<td><input type="text" name="merchant_local_y" value="${merchant.merchant_local_y}"/></td>
		</tr>
		<tr>
			<td>商家QQ号码:</td>
			<td><input type="text" name="merchant_QQ" value="${merchant.merchant_QQ}"/></td>
		</tr>
		<tr>
			<td>商家微信号码:</td>
			<td><input type="text" name="merchant_weixin" value="${merchant.merchant_weixin}"/></td>
		</tr>
		<tr>	
			<td colspan="2">
				<input type="submit" value="提交" />			
			</td>
		</tr>
	</table>
  	</form>
  	</center> 
  </body>
</html>
